package com.ticket.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ticket.common.annotation.Excel;
import com.ticket.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 演出评价对象 yanchu_evaluate
 * 
 * @author ruoyi
 * @date 2024-03-15
 */
public class YanchuEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private Long id;

    /** 剧院id */
    @Excel(name = "剧院id")
    private Long operaId;

    /** 演出id */
    @Excel(name = "演出id")
    private Long performId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long sessionId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 评价人id */
    @Excel(name = "评价人id")
    private Long creator;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String content;

    /** 评价图片，逗号分隔(最多4张) */
    @Excel(name = "评价图片，逗号分隔(最多4张)")
    private String imgUrl;

    /** 评价规则 1好评，2差评 */
    @Excel(name = "评价规则 1好评，2差评")
    private Integer rule;

    /** 是否精选 1否，2是 */
    @Excel(name = "是否精选 1否，2是")
    private Integer isExcellent;

    /** 是否显示状态 1隐藏  2显示 */
    @Excel(name = "是否显示状态 1隐藏  2显示")
    private Integer isShow;

    @Transient
    private String startTime;
    @Transient
    private String endTime;
    @Transient
    private String nickName;
    @Transient
    private String performName;
    @Transient
    private String avatar;//头像

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOperaId(Long operaId) 
    {
        this.operaId = operaId;
    }

    public Long getOperaId() 
    {
        return operaId;
    }
    public void setPerformId(Long performId) 
    {
        this.performId = performId;
    }

    public Long getPerformId() 
    {
        return performId;
    }
    public void setSessionId(Long sessionId) 
    {
        this.sessionId = sessionId;
    }

    public Long getSessionId() 
    {
        return sessionId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setRule(Integer rule) 
    {
        this.rule = rule;
    }

    public Integer getRule() 
    {
        return rule;
    }
    public void setIsExcellent(Integer isExcellent) 
    {
        this.isExcellent = isExcellent;
    }

    public Integer getIsExcellent() 
    {
        return isExcellent;
    }
    public void setIsShow(Integer isShow) 
    {
        this.isShow = isShow;
    }

    public Integer getIsShow() 
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("operaId", getOperaId())
            .append("performId", getPerformId())
            .append("sessionId", getSessionId())
            .append("orderId", getOrderId())
            .append("creator", getCreator())
            .append("content", getContent())
            .append("imgUrl", getImgUrl())
            .append("rule", getRule())
            .append("isExcellent", getIsExcellent())
            .append("isShow", getIsShow())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPerformName() {
        return performName;
    }

    public void setPerformName(String performName) {
        this.performName = performName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
